Tootsville::With-Errors-As-Http

Macro

With-Errors-As-Http names a macro, with lambda list ((ERROR-CODE &OPTIONAL THING) &BODY BODY):

Execute BODY in a context in which any error results in HTTP ERROR-CODE.

Rather than defaulting to an HTTP 500, ERROR-CODE will be returned as the outcome of any uncaught error signal.

File

Defined in file src/web.lisp.